<?php /* Smarty version Smarty-3.1.11, created on 2012-12-14 12:39:50
         compiled from "./smarty/templates/confirmPage.tpl" */ ?>
<?php /*%%SmartyHeaderCode:211310048550cade2f91b048-65939174%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '035a682f67f4998852eaba693c5f07327cdf8d4b' => 
    array (
      0 => './smarty/templates/confirmPage.tpl',
      1 => 1355486493,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '211310048550cade2f91b048-65939174',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_50cade2f9bc795_04481146',
  'variables' => 
  array (
    'itinerariId' => 0,
    'roomsNumber' => 0,
    'index' => 0,
    'confirmationNumber' => 0,
    'tripAdvisorRating' => 0,
    'checkInDate' => 0,
    'checkOutDate' => 0,
    'numberOfNights' => 0,
    'roomDescription' => 0,
    'rooms' => 0,
    'currency' => 0,
    'totalNoTax' => 0,
    'taxRecoveryChargesAndFees' => 0,
    'totalPrice' => 0,
    'billingAddress' => 0,
    'emailAddress' => 0,
    'phoneNumber' => 0,
    'cancelationPolicy' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50cade2f9bc795_04481146')) {function content_50cade2f9bc795_04481146($_smarty_tpl) {?><div align=center style="margin: 0 auto; width:50%">
    <div id="confirmationPage">
        <table id="confirmationForm">
            <tr><td class="title"><b>Your reservation is confirmed</b></td></tr>
       <tr><td>
        <div>
            <table class="wide borderTable">
                <tr><td>Your Itinerary number:<?php echo $_smarty_tpl->tpl_vars['itinerariId']->value;?>
</td></tr>
                <tr><td>Your Booking Confirmation Number(s):
                    <?php $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['index']->step = 1;$_smarty_tpl->tpl_vars['index']->total = (int)ceil(($_smarty_tpl->tpl_vars['index']->step > 0 ? $_smarty_tpl->tpl_vars['roomsNumber']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['roomsNumber']->value-1)+1)/abs($_smarty_tpl->tpl_vars['index']->step));
if ($_smarty_tpl->tpl_vars['index']->total > 0){
for ($_smarty_tpl->tpl_vars['index']->value = 0, $_smarty_tpl->tpl_vars['index']->iteration = 1;$_smarty_tpl->tpl_vars['index']->iteration <= $_smarty_tpl->tpl_vars['index']->total;$_smarty_tpl->tpl_vars['index']->value += $_smarty_tpl->tpl_vars['index']->step, $_smarty_tpl->tpl_vars['index']->iteration++){
$_smarty_tpl->tpl_vars['index']->first = $_smarty_tpl->tpl_vars['index']->iteration == 1;$_smarty_tpl->tpl_vars['index']->last = $_smarty_tpl->tpl_vars['index']->iteration == $_smarty_tpl->tpl_vars['index']->total;?>
                        <?php echo $_smarty_tpl->tpl_vars['confirmationNumber']->value[$_smarty_tpl->tpl_vars['index']->value];?>

                        <?php if ($_smarty_tpl->tpl_vars['index']->value!=$_smarty_tpl->tpl_vars['roomsNumber']->value-1){?>,<?php }?>
                    <?php }} ?>
                </td></tr>
             </table>
             <table class="wide">
                <tr><td class="title"><b>Reservation Details</b></td></tr>
                <tr><td><?php echo $_smarty_tpl->tpl_vars['tripAdvisorRating']->value[0];?>
</td></tr>
            </table>
            <div class="borderedItems">
                <table>
                    <tr>
                        <td>Check-in:</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['checkInDate']->value[0];?>
</td>
                    </tr>
                    <tr>
                        <td>Check-out:</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['checkOutDate']->value[0];?>
</td>
                    </tr>
                    <tr>
                        <td>Number of nights:</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['numberOfNights']->value[0];?>
</td>
                    </tr>
                    <!--<tr>
                        <td>Guests:</td>
                        <td></td>
                    </tr>-->
                    <tr>
                        <td>Room type:</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['roomDescription']->value[0];?>
</td>
                    </tr>
                    <tr>
                        <td>Rooms:</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['roomsNumber']->value;?>
</td>
                    </tr>
                </table>
            </div>
            <?php $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['index']->step = 1;$_smarty_tpl->tpl_vars['index']->total = (int)ceil(($_smarty_tpl->tpl_vars['index']->step > 0 ? $_smarty_tpl->tpl_vars['roomsNumber']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['roomsNumber']->value-1)+1)/abs($_smarty_tpl->tpl_vars['index']->step));
if ($_smarty_tpl->tpl_vars['index']->total > 0){
for ($_smarty_tpl->tpl_vars['index']->value = 0, $_smarty_tpl->tpl_vars['index']->iteration = 1;$_smarty_tpl->tpl_vars['index']->iteration <= $_smarty_tpl->tpl_vars['index']->total;$_smarty_tpl->tpl_vars['index']->value += $_smarty_tpl->tpl_vars['index']->step, $_smarty_tpl->tpl_vars['index']->iteration++){
$_smarty_tpl->tpl_vars['index']->first = $_smarty_tpl->tpl_vars['index']->iteration == 1;$_smarty_tpl->tpl_vars['index']->last = $_smarty_tpl->tpl_vars['index']->iteration == $_smarty_tpl->tpl_vars['index']->total;?>
                <div class="title"><b>Room <?php echo $_smarty_tpl->tpl_vars['index']->value+1;?>
</b></div>
                <table class="wide borderedItems">
                    <tr>
                        <td width="30%">Guests:</td>
                        <td width="70%">
                            <?php echo $_smarty_tpl->tpl_vars['rooms']->value[$_smarty_tpl->tpl_vars['index']->value]['firstName'];?>

                            <?php echo $_smarty_tpl->tpl_vars['rooms']->value[$_smarty_tpl->tpl_vars['index']->value]['lastName'];?>
,
                            <?php echo $_smarty_tpl->tpl_vars['rooms']->value[$_smarty_tpl->tpl_vars['index']->value]['numberOfAdults'];?>
 Adult(s)
                            <?php echo $_smarty_tpl->tpl_vars['rooms']->value[$_smarty_tpl->tpl_vars['index']->value]['numberOfChildren'];?>
 Child(ren)
                        </td>
                    </tr>
                </table>
            <?php }} ?>
                <div id="specialRequest" class="footerNotes">
                    *Please note: Special requests can not be guaranteed. Special requests are subject to availability upon check-in and may incur aditional charges.
                </div>
                <div id="charges" class="title"><b>Charges</b></div>
                <div>All prices are displayed in <?php echo $_smarty_tpl->tpl_vars['currency']->value[0];?>
</div>
                <div id="chargesValue">
                    <table><tbody>
                    <?php $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['index']->step = 1;$_smarty_tpl->tpl_vars['index']->total = (int)ceil(($_smarty_tpl->tpl_vars['index']->step > 0 ? $_smarty_tpl->tpl_vars['roomsNumber']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['roomsNumber']->value-1)+1)/abs($_smarty_tpl->tpl_vars['index']->step));
if ($_smarty_tpl->tpl_vars['index']->total > 0){
for ($_smarty_tpl->tpl_vars['index']->value = 0, $_smarty_tpl->tpl_vars['index']->iteration = 1;$_smarty_tpl->tpl_vars['index']->iteration <= $_smarty_tpl->tpl_vars['index']->total;$_smarty_tpl->tpl_vars['index']->value += $_smarty_tpl->tpl_vars['index']->step, $_smarty_tpl->tpl_vars['index']->iteration++){
$_smarty_tpl->tpl_vars['index']->first = $_smarty_tpl->tpl_vars['index']->iteration == 1;$_smarty_tpl->tpl_vars['index']->last = $_smarty_tpl->tpl_vars['index']->iteration == $_smarty_tpl->tpl_vars['index']->total;?>

                            <tr>
                                <td>Room <?php echo $_smarty_tpl->tpl_vars['index']->value+1;?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['totalNoTax']->value[$_smarty_tpl->tpl_vars['index']->value];?>
 <?php echo $_smarty_tpl->tpl_vars['currency']->value[0];?>
</td>
                            </tr>
                            <?php if ($_smarty_tpl->tpl_vars['index']->value==$_smarty_tpl->tpl_vars['roomsNumber']->value-1){?>
                                <tr>
                                    <td>Tax Recovery Charges and Service Fees:</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['taxRecoveryChargesAndFees']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['currency']->value[0];?>
</td>
                                </tr>
                            <?php }?>

                    <?php }} ?>
                    </tbody></table>
                </div>
                <div id="chargeableTotal">Total Charges:* <?php echo $_smarty_tpl->tpl_vars['totalPrice']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['currency']->value[0];?>
</div>
                <div class="footerNotes">
                    
                    <div>*Including tax recovery charges and service fees</div>
                    <div>Your credit card has been charged for the full payment of this reservation.</div>
                </div>
                <div class="title"><b>Payment Information</b></div>
                <div>
                    <table>
                        <tr>
                            <td><b>Billing Address:</b></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['billingAddress']->value;?>
</td>
                        </tr>
                        <tr>
                            <td><b>Email Address:</b></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['emailAddress']->value;?>
</td>
                        </tr>
                        <tr>
                            <td><b>Phone number:</b></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['phoneNumber']->value;?>
</td>
                        </tr>
                    </table>
                </div>
                <div class="title"><b>Aditional Information</b></div>
                <div><b>Cancellation Policy</b></div>
                <table class="wide borderedItems">
                <?php $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['index']->step = 1;$_smarty_tpl->tpl_vars['index']->total = (int)ceil(($_smarty_tpl->tpl_vars['index']->step > 0 ? $_smarty_tpl->tpl_vars['roomsNumber']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['roomsNumber']->value-1)+1)/abs($_smarty_tpl->tpl_vars['index']->step));
if ($_smarty_tpl->tpl_vars['index']->total > 0){
for ($_smarty_tpl->tpl_vars['index']->value = 0, $_smarty_tpl->tpl_vars['index']->iteration = 1;$_smarty_tpl->tpl_vars['index']->iteration <= $_smarty_tpl->tpl_vars['index']->total;$_smarty_tpl->tpl_vars['index']->value += $_smarty_tpl->tpl_vars['index']->step, $_smarty_tpl->tpl_vars['index']->iteration++){
$_smarty_tpl->tpl_vars['index']->first = $_smarty_tpl->tpl_vars['index']->iteration == 1;$_smarty_tpl->tpl_vars['index']->last = $_smarty_tpl->tpl_vars['index']->iteration == $_smarty_tpl->tpl_vars['index']->total;?>
                    <tr>

                        <td><div class="title"><b>Room <?php echo $_smarty_tpl->tpl_vars['index']->value+1;?>
</b></div></td>
                    </tr>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['cancelationPolicy']->value[$_smarty_tpl->tpl_vars['index']->value];?>
</td>
                    </tr>
                <?php }} ?>
                </table>
            </div>
        </td>
       </tr>
    </table>
    </div>
                </div><?php }} ?>